home *** CD-ROM | disk | FTP | other *** search
- Here is a collection of ARexx scripts for use with the Edge text editor, and
- PasTeX. They are not well commented, and I don't claim that they are
- particularly well written, so modifications may take a little bit of work on
- your part. I also make no claims about them working for you. They work for
- me, and that's what's important to me. I'm uploading them because someone
- else might find them useful. However, if you have a problem (or a
- suggestion) let me know and I'll try to take a look at it. If you make some
- modifications, please send me a copy of the changes. Also, if you find any
- of these useful, let me know.
-
- Todd Deery
-
- email: deery@hilda.mast.queensu.ca
-
-
- Requirements:
- Edge (I'm using version 1.711)
- PasTeX (I'm using parts of 1.3 and 1.4 Beta. Actually, any
- implementation of TeX should work with minor modifications.)
- TeXPrt (Version 2.00 works. I tried a newer version, but it crashed and
- I didn't want to fool around trying to get it to work, so I don't
- make any guarantees about it.)
-
-
- Autotex.edge
-
- This script will attempt to start tex compiling the current file. If
- the first line of the file is of the form:
-
- %formatname.fmt
-
- then the script will use formatname as the correct format for the file.
- Otherwise it defaults to plain.fmt. If the compilation is successful, then
- ShowDVI is called. Otherwise the .log file is loaded, and you are put at the
- location of the first error. This part will need to be modified to fit your
- screen size. The coordinates work on my system.
-
- The interaction with ShowDVI could use a lot of improvement. In particular,
- no use of the ShowDVI ARexx port is made.
-
- The script is relatively smart with filenames. I've done extensive testing
- with many different names, and all I can say is it works with everything I've
- tried.
-
-
- view.edge
-
- View the .dvi file associated with the current file. If changes have
- been made, or if the .dvi file does not exist, then autotex.edge is called.
-
-
- viewfile.edge
-
- View some other .dvi file.
-
- print.edge
-
- Call TeXPrt to print the .dvi file associated to the current file. If
- changes have been made, you are requested to compile it first.
-
- printfile.edge
-
- Print another .dvi file.
-
- nexterror.edge
-
- Load the .log file from a failed compile attempt (if it exists and is not
- already loaded). Scan the file for the next error message and position the
- cursor at the correct line.
-
-